﻿/*
 * ImageGallery 
 * An ASP.NET control for publishing Image Galleries on the web.
 * Copyright (C) 2008 Imesh Gunaratne
 * http://code.google.com/p/imagegallery
 * 
 * This file is part of ImageGallery.
 *
 * ImageGallery is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * ImageGallery is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with ImageGallery.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * History: 2008/10/07 Created.
 *          
 */

using System;
using System.Collections.Generic;
using System.Web;

namespace ImageGallery
{
    /// <summary>
    /// Default Settings of the ImageGallery
    /// </summary>
    public class DefaultSettings
    {
        #region Private Attributes
        private static string defaultTheme = "Default";
       
        private static string siteTitle = "Your Site Title";
        private static string siteDescription = "Your Site Description";
        private static string flickrApiKey = null; // Flickr API Key
        private static string flickrUserId = null; // Flickr User ID
        private static string flickrUrl = "http://www.flickr.com/" + flickrUserId;
        private static string cacheSecretKey = "key";
        private static int    imagesPerPage = 12;
        private static string footerText = "Copyright © 2008 " + siteTitle;
        private static string projectSiteUrl = "http://code.google.com/p/imagegallery";
        private static string version = "ImageGallery 1.0";
        private static string unknownError = "Oops an unknown error occurred. Please try again shortly.";
        #endregion

        #region Public Properties
        public static string DefaultTheme
        {
            get { return DefaultSettings.defaultTheme; }            
        }

        public static string SiteTitle
        {
            get { return DefaultSettings.siteTitle; }            
        }

        public static string SiteDescription
        {
            get { return DefaultSettings.siteDescription; }
        }

        public static string FlickrApiKey
        {
            get { return DefaultSettings.flickrApiKey; }
        }

        public static string FlickrUserID
        {
            get { return DefaultSettings.flickrUserId; }
        }

        public static string FlickrUrl
        {
            get { return DefaultSettings.flickrUrl ; }
        }

        public static string CacheSecretKey
        {
            get { return DefaultSettings.cacheSecretKey; }
        }

        public static int ImagesPerPage
        {
            get { return DefaultSettings.imagesPerPage; }
            set { DefaultSettings.imagesPerPage = value; }
        }

        public static string FooterText
        {
            get { return DefaultSettings.footerText; }
        }

        public static string ProjectSiteUrl
        {
            get { return DefaultSettings.projectSiteUrl; }
        }

        public static string Version
        {
            get { return DefaultSettings.version; }
        }

        public static string UnknownError
        {
            get { return DefaultSettings.unknownError; }
        }
        #endregion
    }
}
